home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Pascal / Snippets / SCSI / scsi.FAQ < prev    next >
Encoding:
Text File  |  1993-06-09  |  63.0 KB  |  1,478 lines  |  [TEXT/KAHL]

  1. These files are available for FTP from ftp.cs.tulane.edu in the directory
  2. pub/scsi. Files are stored in file areas as they are found in the BBS with
  3. each area having a file named 'files.bbs' that tells what each file is. The
  4. file pub/scsi/index.Z list each file area, it's descriptions and it's files.
  5.  
  6.  
  7.  
  8.  
  9. Archive-name: scsi-faq
  10. Last-modified: 5/13/93
  11. Version: @(#)scsi.faq    1.5
  12.  
  13.  
  14.  
  15.                   SCSI FAQ:
  16.        Frequently Asked Questions for comp.periphs.scsi
  17.  
  18.  
  19.  
  20.  
  21.  
  22. Table of contents:
  23.  
  24.     Is it possible for two computers to access the same SCSI disks?
  25.     Where can I get SCSICNTL.EXE and other Adaptec files?
  26.     What kinds of Optical Drives are available?
  27.     Where can I get FTP/download SCSI documents?
  28.     What is the telephone number of Archive Corporation?
  29.     What is the telephone number for Quantum?
  30.     What is the telephone number for Seagate?
  31.     What is the telephone number and address of Conner Peripherals?
  32.     What is the address and telephone number of Wangtek?
  33.     What is the number for NCR?
  34.     What is FAST SCSI?
  35.     Where can I get SCSI documents?
  36.     SCSI terminators should measure 136 ohms?
  37.     What are the pinouts for SCSI connectors?
  38.     What is the difference between SCSI-1 and SCSI-2?
  39.     Is SYNCHRONOUS faster than ASYNCHRONOUS?
  40.     Is the 53C90 Faster than spec?
  41.     What are the jumpers on my Conner drive?
  42.     What are the jumpers for my Wangtek 5150 drive?
  43.     What is CAM?
  44.     What is FPT (Termination)?
  45.     What is Active Termination?
  46.     Why Is Active Termination Better?
  47.  
  48.  
  49.  
  50. ====
  51. QUESTION: Is it possible for two computers to access the same SCSI disks?
  52. ANSWER From: burke@seachg.uucp (Michael Burke)
  53. ====
  54.  
  55. Yes, two (or more) systems can be on the same scsi bus as scsi disk and
  56. tape drives. As long as the scsi requirements are met - cable lengths,
  57. termination and type - the devices can share the scsi bus.
  58.  
  59. The question should be - Are there any O/S' that will allow the sharing of
  60. file systems? It would not make sense for two hosts to go about treating
  61. shared disks as if they owned the device. Data would be destroyed pretty
  62. quickly.
  63.  
  64. On the issue of tape devices, however, O/S' tend to give exclusive usage
  65. to an application. In this way, tape drives can be shared much more easily.
  66.  
  67. Disks can be best shared by having two (or more) partitions on a disk. Each
  68. host "owning" it's own file system.
  69.  
  70.  
  71.  
  72.  
  73. ====
  74. QUESTION: Where can I get SCSICNTL.EXE and other Adaptec files?
  75. ANSWER From: randy@psg.com (Randy Bush)
  76.         and  Timothy Hu timhu@ico.isc.com
  77. ====
  78.  
  79. New files from Roy as follows:
  80.  
  81. ftp.psg.com:~/pub/adaptec/...
  82.  
  83. -rw-rw-r--  1 randy    staff      110689 Feb 25 00:29 SCSICNTL.EXE.Z
  84. -rw-rw-r--  1 randy    staff      368640 Feb 25 00:27 adse.dd
  85. -rw-rw-r--  1 randy    staff        1959 Feb 25 00:25 adse.dd.readme
  86. -rw-rw-r--  1 randy    staff       17896 Feb 25 00:37 list
  87. -rw-rw-r--  1 randy    staff       99545 Feb 25 00:20 os2drv.zip
  88. -rw-rw-r--  1 randy    staff       70801 Feb 25 00:20 scsi_drv.Z
  89. -rw-rw-r--  1 randy    staff       66508 Feb 25 00:24 scsi_drv.readm
  90. -rw-rw-r--  1 randy    staff      118697 Feb 25 00:17 update.pkg.Z
  91.  
  92.  
  93. You can get the ASPI specs from Adaptec's Bulletin Board (408)945-7727.
  94.  
  95.  
  96.  
  97.  
  98. ====
  99. QUESTION: What kinds of Optical Drives are available?
  100. ANSWER From: joungwoo@mensa.usc.edu (John Kim)
  101. ====
  102.  
  103. As I promised I am posting the summary of what I learned about 128mb optical
  104. drives through many kind replies and some effort on my part. The purpose of
  105. this informal survey was to aid people (starting from myself) in deciding on
  106. which 128mb optical drive to buy.
  107.  
  108. When I posted my questions, it was done only on comp.mac.sys.hardware and
  109. forgot to do the same also on comp.arch.storage and comp.periphs.scsi where
  110. are less traffic than c.m.s.h. However, as a Macintosh owner myself, this
  111. survey was biased toward the Mac world and the mail order houses mentioned
  112. specializes in Mac-related products, although the below mentioned optical
  113. drives might be usable also with non-Mac platforms (Sun, NeXT,
  114. PC-compatibles).
  115.  
  116. My questions were:
  117.  
  118. o what kind of drive you bought from whom at what price 
  119. o what drive mechanism (MOST, Epson, Fujitsu, Sony, ...) it uses
  120. o how fast it is in terms of average seek time & data transfer rate
  121. o how noisy the drive is
  122. o how large and heavy the drive is
  123. o what drive formatting program (eg, FWB or Silver Lining) you use what its
  124.   goods/bads 
  125. o the quality of the service of the seller (mail order company, retail store,
  126.   etc.) 
  127.  
  128.  
  129. Summary
  130.  
  131. In general, these days, some magneto-optical (MO) drives seem to be almost as
  132. fast as (if not faster than) ordinary hard drives (HD). The access time of
  133. fastest 128MB MO drives (around 30ms) are slower than average HD's access
  134. time (15ms) but the transfer rate seems to be about the same (764KBytes/sec)
  135. or not much slower. The advantages of the MO drives over the HDs are that
  136. your storage space is almost limitless, expandable at a relatively cheap
  137. price ($40/120MB = 34 cents/MB) compared to $1/MB rate of HDs or that of
  138. SyQuest drives, and the life of the media is very long (they say it's 30
  139. years or rewritable 100,000 times.)
  140.  
  141. Fijitsu 128 REM Portable: At this moment, to my knowledge, 128 MByte optical
  142. drives based on Fujitsu mechanism seems to be the fastest, roughly having
  143. average seek time of 30ms and average transfer rate of 768KBytes/sec. These
  144. are the most recently introduced; when I called DGR Technology (800-235-9748)
  145. and MacProducts USA (800-MAC-USA1), both of which are in Texas, about a week
  146. ago they were taking orders for them at the lowest price ($999) (advertised in
  147. MacWorld April '93 issue).  DGR didn't have them in stock yet and were
  148. expecting to have them in quantity in 10 weeks; MacProducts told me it will
  149. take 4 to 5 weeks before I get my order. Call them again now -- the situation
  150. may have improved. Another good thing about this Fujitsu drive is that it is
  151. more compact in size than previous 128mb optical drives, ie, "portable". I
  152. don't know how Fujitsu mechanism (FM) is different from Epson mechanism (EM)
  153. and how FM provides a similar performance at a cheaper price in a smaller
  154. frame. Maybe using split-head implementation to make the read-write head
  155. lighter? Could anybody post info on this? One person tells me that the eject
  156. mechanism is too strong, sometimes shooting the cartridge out making them
  157. land on the floor. He says Fujitsu told him that the FM's coming out in April
  158. will have gentler eject.
  159.  
  160. Epson: The next fastest (or maybe just about the same speed) are Epson
  161. mechanism (EM) drives, having average access time of 34ms and transfer rate of
  162. 768KB/sec.  These achieve faster speed compared to other old mechanisms by
  163. having a higher rpm (3600rpm vs. past 2400 rpm). MacDirect (selling products
  164. labelled NuDesign, 800-621-8467, in Chicago, IL) and DGR advertises to carry
  165. them and currently sells them at $1098 and these are available right now.
  166. Folks who used these seemed to be very satisfied.
  167.  
  168. Slower ones: Other mechanisms (Sony, Panasonic, etc.) seem to have been
  169. dominating the optical drive market before FM and EM's advent. These have a
  170. typical access rate of ~45ms.  I don't know if now there are new
  171. implementations that make them perform better then FM and EM. Maybe someone
  172. can tell us.
  173.  
  174. My current plan is to wait several weeks and buy an FM ($999) when they get
  175. to have them in stock. Since MacDirect has been the leader in providing
  176. cheapest price they may start selling FMs at a competitive price soon. At the
  177. moment MacDirect doesn't seem to carry FMs yet. MacProducts USA is also a
  178. good place to look for good prices. These three places (DGR, Mac Products USA
  179. and MacDirect) are all advertised in MacWorld and MacUser.
  180.  
  181. Noise Level: One thing to consider might be noise of the drive. Different
  182. mechanisms may have typical noise level, but one thing sure is that different
  183. resellers/companys' drive's noise level differs even for the same drive
  184. mechanism, eg, Sony. It looks like different casing produces different noise
  185. levels? (Could someone confirm/disconfirm this aspect?)  Base on the report
  186. in Nov '92 issue of MacWorld, the noise level of MacDirect, MacProduct and
  187. DGR 128mb MO drives seem to be OK or quite quiet.
  188.  
  189. This issue of MacWorld deals with removable media drives (optical drives of
  190. various capacity, SyQuest, Bernoulli and Flopticals) and you can get some
  191. idea on what the differences among different drive mechanisms are.
  192.  
  193. Price of Media: Usual price per 128mb cartridge was $49 - $59. But ClubMac
  194. (800-258-2650, in California) was the cheapest place to buy -- $39/128mb
  195. cartridge. If you live in CA, due to sales tax, Computer Design & Graphic
  196. Systems (800-741-6227) (in Ft. Myers, Florida) might be your cheapest: $40.
  197.  
  198. Formatting Software: Another thing to consider is what kind of media
  199. formatting software you will use. All companys (or mail order places) seemed
  200. to provide for free formatting program with their drives. I don't have the
  201. details on this. But an inefficient formatting can result in slow drive
  202. performance. The most popular one used to be FWB's Hard Disk Toolkit but
  203. Anubis (advertised to improve performance up to 35% [compared to what?]) is
  204. beginning to be used also. I don't know if all formatting program and the
  205. drive hardware allows to have read and write verify off but by having these
  206. turned off you can obtain significant speed boost at the risk of less secure
  207. data transfer. MacWorld's report warned that drives from some companys don't
  208. let you turn on/off the verify. In the worst case, some come with verify off
  209. and no option to toggle it back to ON.
  210.  
  211. 256mb MO drives: In general these have better transfer rate (1.23MB/sec) and
  212. a little slower access time (35ms). I feel that this capacity will soon be
  213. the next standard. These drives are able to also read/write 128mb cartridges
  214. and 256mb will soon be new ANSI and ISO standard. I once heard from a
  215. saleperson at a mail order place that these are not reliable yet and he saw
  216. many they sold came back with complaints. This may be a non-general instance
  217. on a typical drive mechanism (seems to be MOST mechanism). Personally, I feel
  218. 128mb is accomodating enough for personal usage at home unless you are
  219. dealing with very large data files (eg, large graphic images).
  220.  
  221.  
  222.  
  223.  
  224. ====
  225. QUESTION: Where can I get FTP/download SCSI documents?
  226. ANSWER From: news@mgse.UUCP (News Administator)
  227. ====
  228.  
  229.  
  230. Last Changed:    Thu Sep 24 23:31:09 CDT 1992 (New BBS Phone number)
  231.  
  232. This is a periodic posting of information about some of the archives at
  233. ftp.cs.tulane.edu and the available files from the SCSI-BBS, including
  234. SCSI, ESDI, IPI, and Fiber Channel documents from the standards committees.
  235.  
  236. These files are available for FTP from ftp.cs.tulane.edu in the directory
  237. pub/scsi. Files are stored in file areas as they are found in the BBS with
  238. each area having a file named 'files.bbs' that tells what each file is. The
  239. file pub/scsi/index.Z list each file area, it's descriptions and it's files.
  240.  
  241. Thanks to John Lohmeyer of NCR, a majority of the SCSI related files from the
  242. SCSI BBS are now available for anonymous ftp. These files were sent to me by
  243. Mr. Lohmeyer at his expense so that more people would have access to them.
  244. The SCSI BBS (719-574-0424) contains a large amount of data relating to SCSI,
  245. and ESDI as well as SCSI-2, IPI, and Fiber Channel, as well as the last
  246. revision of the SCSI-1 standard before it went to publication by ANSI.
  247.  
  248. Most of the files in the SCSI archive are either archived with the ZIP utility
  249. or compressed with the 'compress' program. Most of the text files are stored
  250. as Wordstar word processing files. PKzip for PC/MS-DOS is included in the 
  251. archive to allow users to break up the .ZIP files, and the PC/MS-DOS binaries
  252. and .C source are also in the archive to convert the Wordstar documents to
  253. ASCII text.
  254.  
  255.  
  256.  
  257.  
  258. ====
  259. QUESTION: What is the telephone number of Archive Corporation?
  260. ANSWER From: jdp@caleb.UUCP (Jim Pritchett)
  261. ====
  262. Archive Corporation          (800) 537 2248
  263.      Tech Support            (800) 227 6296
  264.  
  265.  
  266.  
  267.  
  268. ====
  269. QUESTION: What is the telephone number for Quantum?
  270. ANSWER From: paladin@world.std.com (Thomas G Schlatter)
  271. ====
  272. Quantum:
  273. BBS? (408) 434-1664
  274. FAX  (408) 943-0689
  275. Tech support (408) 432-1100
  276.  
  277.  
  278.  
  279.  
  280. ====
  281. QUESTION: What is the telephone number for Seagate?
  282. ANSWER From: landis@sugs.tware.com (Hale Landis)
  283. ====
  284.  
  285. Here are the numbers for Seagate's Technical Support.
  286.  
  287. SeaBOARD - Bulletin Board System available 24 hours.  Use 8 data
  288.            bits, no parity, 1 stop bit (8-N-1).
  289.  
  290.    USA/Canada  408-438-8771    9600 baud*
  291.    England     44-62-847-8011  9600 baud*
  292.    Germany     49-89-140-9331  2400 baud*
  293.    Singapore   65-292-6973     9600 baud*
  294.    Australia   61-2-756-2359   9600 baud*
  295.  
  296.    * - Maximum baud rate supported.
  297.  
  298. SeaFAX 408-438-2620
  299.  
  300.    Use a touch-tone phone to have information returned to you via
  301.    FAX.  Available 24 hours.
  302.  
  303. Technical Support Fax 408-438-8137
  304.  
  305.    FAX your questions or comments 24 hours.  Responses are sent
  306.    between 8:00AM and 5:00PM PST Monday through Friday.
  307.  
  308. SeaFONE 408-438-8222
  309.  
  310.    Provides recorded information 24 hours or talk to a technical
  311.    specialist between 8:00AM to 5:00PM PST Monday through Friday.
  312.  
  313. SeaTDD 408-438-5382
  314.  
  315.    Using a Telecommunications Device for the Deaf, you can send
  316.    questions or comments 24 hours or have a dialog with a
  317.    technical support specialist between 8:00AM and 5:00PM PST
  318.    Monday through Friday.
  319.  
  320.  
  321.  
  322. ====
  323. QUESTION: What is the telephone number and address of Conner Peripherals?
  324. ANSWER From: ekrieger@quasar.hacktic.nl (Eric Krieger)
  325. ====
  326.  
  327. CONNER PERIPHERALS, Incorporated        WATTS LINE:
  328. 3081 Zanker Road                          PAY LINE: (408)456-4500
  329. San Jose   CA  95134                      FAX LINE:
  330.                                           BBS LINE: (408)456-4415 (V.32)
  331. CONNER                                                  (408)456-3200
  332.  
  333.  
  334.  
  335. ====
  336. QUESTION: What is the address and telephone number of WANGTEK?
  337. ANSWER From: "Terry Kennedy, Operations Mgr" <uunet!spcvxa.spc.edu!TERRY>
  338. ====
  339.  
  340. Wangtek can be reached at:
  341.  
  342.   WANGTEK Incorporated
  343.   41 Moreland Road
  344.   Simi Valley, CA 93065
  345.   (805) 583-5255 [voice]
  346.   (805) 583-8249 [FAX]
  347.   (805) 582-3370 [BBS]
  348.  
  349.   WANGTEK-Europe
  350.   Unit 1A, Apollo House
  351.   Calleva Industrial Park
  352.   Aldermaston, Reading
  353.   RG7 4QW England
  354.   (44) 734-811463 [voice]
  355.   (44) 734-816076 [FAX]
  356.   851-848135 [telex]
  357.  
  358.  
  359.  
  360. ====
  361. QUESTION: What is the number for NCR?
  362. ANSWER From: gkendall@ncr-mpd.FtCollinsCO.NCR.COM (Guy Kendall)
  363. ====
  364.  
  365. For data manuals for any NCR chips, please call 800-334-5454 or
  366. 719-630-3384.
  367.  
  368.  
  369.  
  370. ====
  371. QUESTION: what is FAST SCSI?
  372. ANSWER From: kev@hpcpbla.bri.hp.com (Kevin Jones)
  373. ====
  374.  
  375. There are 2 handshaking modes on the SCSI bus, used for transferring data:
  376. ASYNCHRONOUS and SYNCHRONOUS. ASYNCHRONOUS is a classic Req/Ack handshake.
  377. SYNCHRONOUS is "sort of" Req/Ack, only it allows you to issue multiple 
  378. Req's before receiving Ack's. What this means in practice is that 
  379. SYNCHRONOUS transfers are approx 3 times faster than ASYNCHRONOUS.
  380.  
  381. SCSI1 allowed asynchronous transfers at up to 1.5 Mbytes/Sec and 
  382. synchronous transfers at up to 5.0 Mbytes/Sec.
  383.  
  384. SCSI2 had some of the timing margins "shaved" in order that faster handshaking
  385. could occur. The result is that asynchronous transfers can run at up to
  386. 3.0 Mbytes/Sec and synchronous transfers at up to 10.0 Mbytes/Sec. 
  387. The term "FAST" is generally applied to a SCSI device which can do 
  388. syncrhonous transfers at speeds in excess of 5.0 Mbytes/Sec. This term can
  389. only be applied to SCSI2 devices since SCSI1 didn't have the timing margins
  390. that allow for FAST transfers.
  391.  
  392.  
  393.  
  394.  
  395. ====
  396. QUESTION: Where can I get SCSI documents?
  397. ANSWER From: kev@hpcpbla.bri.hp.com (Kevin Jones)
  398.          and jmatrow@donald.WichitaKS.NCR.COM (John Matrow
  399. ====
  400.  
  401. The only literature that I'm aware of is:                  
  402.  
  403.   The SCSI specification: Available from:
  404.  
  405.       Global Engineering Documents
  406.       15 Inverness Way East
  407.       Englewood Co  80112-5704
  408.       (800) 854-7179
  409.     SCSI-1: X3.131-1986
  410.     SCSI-2: X3.131-199x
  411.     SCSI-3 X3T9.2/91-010R4 Working Draft
  412.  
  413. (Global Engineering Documentation in Irvine, CA (714)261-1455??)
  414.  
  415.  
  416. SCSI-1: Doc # X3.131-1986 from ANSI, 1430 Broadway, NY, NY 10018
  417.  
  418.  
  419. IN-DEPTH EXPLORATION OF SCSI can be obtained from
  420. Solution Technology, Attn: SCSI Publications, POB 104, Boulder Creek,
  421. CA 95006, (408)338-4285, FAX (408)338-4374
  422.  
  423. THE SCSI ENCYLOPEDIA and the SCSI BENCH REFERENCE can be obtained from
  424. ENDL Publishing, 14426 Black Walnut Ct., Saratoga, CA 95090,
  425. (408)867-6642, FAX (408)867-2115
  426.  
  427. SCSI: UNDERSTANDING THE SMALL COMPUTER SYSTEM INTERFACE was published
  428. by Prentice-Hall, ISBN 0-13-796855-8
  429.   
  430.  
  431.  
  432.  
  433. ====
  434. QUESTION: SCSI terminators should measure 136 ohms?
  435. ANSWER From: stevel@coos.dartmouth.edu (Steve Ligett)
  436. ====
  437.  
  438. Yes, that is what you should measure.  Let's see how that is so.  The
  439. terminator contains 18 220-ohm resistors from signals to termpower, and
  440. 18 330-ohm resistors from those signals to ground.  I've drawn that
  441. below:
  442.  
  443. termpower--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  444.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  445. 220 ohms-> R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R
  446.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  447. signals -> o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o
  448.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  449. 330 ohms-> R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R
  450.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  451. ground   --+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  452.  
  453. When you measure from any one signal to termpower, you aren't measuring
  454. that resistor in isolation, you are measuring that resistor IN PARALLEL
  455. with the combination of the corresponding 330 ohm resistor plus 17
  456. 220+330 ohm resistor pairs in series.  I've redrawn the schematic to
  457. make this easier to see:
  458.  
  459. termpower--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  460.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  461.            |  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R <- 220 ohms
  462.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  463.            |  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o
  464.            |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  465.            |  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R <- 330 ohms
  466.   220 ohms R  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
  467.            |  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-- ground
  468.            |  |
  469.            |  R <-- 330 ohms
  470.            |  /
  471. signal ->  o-/
  472.  
  473. <our resistor><--------- other stuff that's in parallel ---------->
  474.  
  475. We're trying to measure that one resistor from a signal to termpower,
  476. but there's a ton of other stuff in parallel.  The resistance of that
  477. "stuff" is 330 + 550/17 ohms (the 330 ohm resistor, in series with a
  478. parallel combination of 17 550 ohm resistors).  The general formula for
  479. the equivalent of two resistances in parallel is r1*r2/(r1+r2).
  480. Whipping out my trusty spreadsheet, I find that the "stuff" has a
  481. resistance of about 362 ohms, and that in parallel with 220 ohms is
  482. about 137 ohms.
  483.  
  484.  
  485.  
  486.  
  487.  
  488. ====
  489. QUESTION: What are the pinouts for SCSI connectors?
  490. From: snively@scsi.Eng.Sun.COM (Bob Snively)
  491. ====
  492.  
  493. Originally dated May 23, 1990
  494.  
  495. The connector families described by the drawings have standard 
  496. pin numberings which are described the same way by all vendors
  497. that I have encountered.  The SCSI-2 specification identifies the
  498. standard numbering, using that convention.  It happened to be
  499. documented by AMP, but all the vendors use the same convention.
  500.  
  501. The following diagrams have the outline drawings of connector 
  502. sockets at the bottom.  This is really for reference only, because
  503. the connector sockets and plugs are both specified as to their
  504. numbering and usually are labeled.
  505.  
  506. There are some minor problems in naming the microconnector conductor
  507. pairs, which I have corrected in the enclosed diagram.  All the conductor
  508. pairs of the Mini-Micro (High Density) connector are in fact passed
  509. through on the cables.  SCSI-2 defines the RSR (Reserved) lines as
  510. maybe ground or maybe open, but they are still passed through the cable.
  511. Most present standard SCSI devices will ground those lines.
  512.  
  513. --------------------  microSCSI to SCSI Diagram   ---------------------------
  514.  
  515.  
  516.                        SCSI Connector Pinouts
  517.  
  518. _____________________________________  _____________________________________
  519. | SCSI  |         | MINI  |         |  | SCSI  |        | MINI  |          |
  520. | SIGNAL| DD-50P  | MICRO | DD-50SA |  | SIGNAL| DD-50P | MICRO | DD-50SA  |
  521. ------------------------------------  -------------------------------------
  522. | -DB(0)|    2    |  26   |   34    |  |  GND  |    1    |   1   |    1    |
  523. | -DB(1)|    4    |  27   |    2    |  |  GND  |    3    |   2   |   18    |
  524. | -DB(2)|    6    |  28   |   19    |  |  GND  |    5    |   3   |   35    |
  525. | -DB(3)|    8    |  29   |   36    |  |  GND  |    7    |   4   |    3    |
  526. | -DB(4)|   10    |  30   |    4    |  |  GND  |    9    |   5   |   20    |
  527. | -DB(5)|   12    |  31   |   21    |  |  GND  |   11    |   6   |   37    |
  528. | -DB(6)|   14    |  32   |   38    |  |  GND  |   13    |   7   |    5    |
  529. | -DB(7)|   16    |  33   |    6    |  |  GND  |   15    |   8   |   22    |
  530. | -DB(P)|   18    |  34   |   23    |  |  GND  |   17    |   9   |   39    |
  531. |  GND  |   20    |  35   |   40    |  |  GND  |   19    |  10   |    7    |
  532. |  GND  |   22    |  36   |    8    |  |  GND  |   21    |  11   |   24    |
  533. |  RSR  |   24    |  37   |   25    |  |  RSR  |   23    |  12   |   41    |
  534. |TERMPWR|   26    |  38   |   42    |  |  OPEN |   25    |  13   |    9    |
  535. |  RSR  |   28    |  39   |   10    |  |  RSR  |   27    |  14   |   26    |
  536. |  GND  |   30    |  40   |   27    |  |  GND  |   29    |  15   |   43    |
  537. | -ATN  |   32    |  41   |   44    |  |  GND  |   31    |  16   |   11    |
  538. |  GND  |   34    |  42   |   12    |  |  GND  |   33    |  17   |   28    |
  539. |  BSY  |   36    |  43   |   29    |  |  GND  |   35    |  18   |   45    |
  540. | -ACK  |   38    |  44   |   46    |  |  GND  |   37    |  19   |   13    |
  541. | -RST  |   40    |  45   |   14    |  |  GND  |   39    |  20   |   30    |
  542. | -MSG  |   42    |  46   |   31    |  |  GND  |   41    |  21   |   47    |
  543. | -SEL  |   44    |  47   |   48    |  |  GND  |   43    |  22   |   15    |
  544. | -C/D  |   46    |  48   |   16    |  |  GND  |   45    |  23   |   32    |
  545. | -REQ  |   48    |  49   |   33    |  |  GND  |   47    |  24   |   49    |
  546. | -I/O  |   50    |  50   |   50    |  |  GND  |   49    |  25   |   17    |
  547. ----------------------------------------------------------------------------
  548.  
  549.  * NC = NOT CONNECTED
  550.  
  551.  CONNECTOR TYPES:
  552.                                   DD-50SA
  553.                         ________________________            MINI-MICRO
  554.        DD-50P          |   -------------------  |      _____________________
  555.     ______________     |17 \o o o o o o o o o/1 |     |  _________________ |
  556.  49| o o o o o o |1    | 33 \ o o o o o o o /18 |     |25\ o o o o o o o /1|
  557.  50| o o o o o o |2    |  50 \o o o o o o o/ 34 |     | 50\o o o o o o o/26|
  558.    ---------------     |      -------------     |     |   --------------   |
  559.                        --------------------------     ----------------------
  560.  
  561. (VIEWED FROM FACE OF CONNECTOR -  USE VENDOR NUMBERING SYSTEM AS SPECIFIED)
  562.  
  563.  
  564.  
  565.  
  566.  
  567. ====
  568. QUESTION: what is the difference between SCSI-1 and SCSI-2?
  569. ANSWER From Dal Allen:
  570. ====
  571.  
  572.                           SCSI-1_versus_SCSI-2
  573.  
  574. In 1985, when the first SCSI standard was being finalized as an American
  575. National Standard, the X3T9.2 Task Group was approached by a group of
  576. manufacturers.  The group wanted to increase the mandatory requirements of
  577. SCSI and to define further features for direct-access devices.  Rather than
  578. delay the SCSI standard, X3T9.2 formed an ad hoc group to develop a working
  579. paper that was eventually called the Common Command Set (CCS).  Many products
  580. were designed to this working paper.
  581.  
  582. In parallel with the development of the CCS working paper, X3T9.2 sought
  583. permission to begin working on an enhanced SCSI standard, to be called SCSI-2.
  584. SCSI-2 would include the results of the CCS working paper, caching commands,
  585. performance enhancement features, and whatever else X3T9.2 deemed worthwhile.
  586. While SCSI-2 was to go beyond the original SCSI standard (now referred to as
  587. SCSI-1), it was to retain a high degree of compatibility with SCSI-1 devices.
  588.  
  589. How is SCSI-2 different from SCSI-1?
  590.  
  591. 1.  Several options were removed from SCSI-1:
  592.  
  593.    a.  Single initiator option was removed.
  594.    b.  Non-arbitrating Systems option was removed.
  595.    c.  Non-extended sense data option was removed.
  596.    d.  Reservation queuing option was removed.
  597.    e.  The read-only device command set was replaced by the CD-ROM command
  598.        set.
  599.    f.  The alternative 1 shielded connector was dropped.
  600.  
  601.  
  602. 2.  There are several new low-level requirements in SCSI-2:
  603.  
  604.    a.  Parity must be implemented.
  605.    b.  Initiators must provide TERMPWR -- Targets may provide TERMPWR.
  606.    c.  The arbitration delay was extended to 2.4 us from 2.2 us.
  607.    d.  Message support is now required.
  608.  
  609.  
  610. 3.  Many options significantly enhancing SCSI were added:
  611.  
  612.    a.  Wide SCSI (up to 32 bits wide using a second cable)
  613.    b.  Fast SCSI (synchronous data transfers of up to 10 Mega-transfers per
  614.        second -- up to 40 MegaBytes per second when combined with wide SCSI)
  615.    c.  Command queuing (up to 256 commands per initiator on each logical unit)
  616.    d.  High-density connector alternatives were added for both shielded and 
  617.        non- shielded connectors.
  618.    e.  Improved termination for single-ended buses (Alternative 2)
  619.    f.  Asynchronous event notification
  620.    g.  Extended contingent allegiance
  621.    h.  Terminate I/O Process messaging for time- critical process termination
  622.  
  623. 4.  New command sets were added to SCSI-2 including:
  624.  
  625.    a.  CD-ROM (replaces read-only devices)
  626.    b.  Scanner devices
  627.    c.  Optical memory devices (provides for write-once, read-only, and
  628.        erasable media)
  629.    d.  Medium changer devices
  630.    e.  Communications devices
  631.  
  632.  
  633. 5.  All command sets were enhanced:
  634.  
  635.    a.  Device Models were added
  636.    b.  Extended sense was expanded to add:
  637.        + Additional sense codes
  638.        + Additional sense code qualifiers
  639.        + Field replaceable unit code
  640.        + Sense key specific bytes
  641.  
  642.    c.  INQUIRY DATA was expanded to add:
  643.        + An implemented options byte
  644.        + Vendor identification field
  645.        + Product identification field
  646.        + Product revision level field
  647.        + Vital product data (more extensive product reporting)
  648.  
  649.    d.  The MODE SELECT and MODE SENSE commands were paged for all device types
  650.    e.  The following commands were added for all device types:
  651.  
  652.        + CHANGE DEFINITION
  653.        + LOG SELECT
  654.        + LOG SENSE
  655.        + READ BUFFER
  656.        + WRITE BUFFER
  657.  
  658.    f.  The COPY command definition was expanded to include information on how
  659.        to handle inexact block sizes and to include an image copy option.
  660.    g.  The direct-access device command set was enhanced as follows:
  661.  
  662.        + The FORMAT UNIT command provides more control over defect management
  663.        + Cache management was added:
  664.           - LOCK/UNLOCK CACHE command
  665.           - PREFETCH command
  666.           - SYNCHRONIZE CACHE command
  667.           - Force unit access bit
  668.           - Disable page out bit
  669.  
  670.        + Several new commands were added:
  671.           - READ DEFECT DATA
  672.           - READ LONG
  673.           - WRITE LONG
  674.           - WRITE SAME
  675.  
  676.        + The sequential-access device command set was enhanced as follows:
  677.  
  678.           - Partitioned media concept was added:
  679.             * LOCATE command
  680.             * READ POSITION command
  681.  
  682.           - Several mode pages were added
  683.           - Buffered mode 2 was added
  684.           - An immediate bit was added to the WRITE FILEMARKS command
  685.  
  686.        + The printer device command set was enhanced as follows:
  687.           - Several mode pages defined:
  688.             * Disconnect/reconnect
  689.             * Parallel printer
  690.             * Serial printer
  691.             * Printer options
  692.  
  693.        + The write-once (optical) device command set was enhanced by:
  694.           - Several new commands were added:
  695.             * MEDIUM SCAN
  696.             * READ UPDATED BLOCK
  697.             * UPDATE BLOCK
  698.  
  699.           - Twelve-byte command descriptor blocks were defined for several
  700.             commands to accommodate larger transfer lengths.
  701.  
  702. =============================================================================
  703.  
  704. The following article was written by Dal Allan of ENDL in April 1990.  It 
  705. was published nine months later in the January 1991 issue of "Computer 
  706. Technology Review".  While it appeared in the Tape Storage Technology 
  707. Section of CTR, the article is general in nature and tape-specific.  In 
  708. spite of the less than timely publication, most of the information is still 
  709. valid.
  710.  
  711. It is reprinted here with the permission of the author.  If you copy this 
  712. article, please include this notice giving "Computer Technology Review" 
  713. credit for first publication.
  714.  
  715. ------------------------------------------------------------------------------
  716.                             What's New in SCSI-2
  717.  
  718. Scuzzy is the pronunciation and SCSI (Small Computer System Interface) is 
  719. the acronym, for the best known and most widely used ANSI (American National 
  720. Standards Institute) interface. 
  721.  
  722. Despite use of the term "Small" in its name, everyone has to agree that 
  723. Scuzzy is large - in use, in market impact, in influence, and unfortunately, 
  724. in documentation. The standards effort that began with a 20-page 
  725. specification in 1980 has grown to a 600 page extravaganza of technical 
  726. information. 
  727.  
  728. Even before ANSI (American National Standards Institute) published the first 
  729. run of SCSI as standards document in 1986, ASC (Accredited Standards 
  730. Committee) X3T9.2 was hard at work on SCSI-2. 
  731.  
  732. No technical rationale can be offered as to why SCSI-1 ended and SCSI-2 
  733. began, or as to why SCSI-2 ended and SCSI-3 began. The justification is much 
  734. more simple - you have to stop sometime and get a standard printed. Popular 
  735. interfaces never stop evolving, adapting, and expanding to meet more uses 
  736. than originally envisaged. 
  737.  
  738. Interfaces even live far beyond their technological lifespan. SMD (Storage 
  739. Module Drive) has been called technically obsolete for 5 years but every 
  740. year there are more megabytes shipped on the SMD interface than the year 
  741. before. This will probably continue for another year or so before the high 
  742. point is reached, and it will at least a decade before SMD is considered to 
  743. be insignificant. 
  744.  
  745. If SCSI enhancements are cut off at an arbitrary point, what initiates the 
  746. decision? Impatience is as good an answer as any. The committee and the 
  747. market get sick of promises that the revision process will "end soon," and 
  748. assert pressure to "do it now."
  749.  
  750. The SCSI-3 effort is actively under way right now, and the workload of the 
  751. committee seems to be no less than it was a year ago. What is pleasant, is 
  752. that the political pressures have eased. 
  753.  
  754. There is a major difference between the standards for SCSI in 1986 and SCSI-
  755. 2 in 1990. The stated goal of compatibility between manufacturers had not 
  756. been achieved in SCSI in 1986 due to a proliferation of undocumented 
  757. "features." 
  758.  
  759. Each implementation was different enough that new software drivers had to be 
  760. written for each device. OEMs defined variations in hardware that required 
  761. custom development programs and unique microcode. Out of this diversity 
  762. arose a cry for commonality that turned into CCS (Common Command Set), and 
  763. became so popular that it took on an identity of its own. 
  764.  
  765. CCS defined the data structures of Mode Select and Mode Sense commands, 
  766. defect management on the Format command and error recovery procedures. CCS 
  767. succeeded because the goals were limited, the objectives clear and the time 
  768. was right. 
  769.  
  770. CCS was the beginning of SCSI-2, but it was only for disks. Tape and optical 
  771. disks suffered from diversity, and so it was that the first working group 
  772. efforts on SCSI-2 were focused on tapes and optical disks. However, opening 
  773. up a new standards effort is like lifting the lid on Pandora's Box - its 
  774. hard to stay focused on a single task. SCSI-2 went far beyond extending and 
  775. consolidating CCS for multiple device types. 
  776.  
  777. SCSI-2 represents three years of creative thought by some of the best minds 
  778. in the business. Many of the new features will be useful only in advanced 
  779. systems; a few will find their way into the average user's system. Some may 
  780. never appear in any useful form and will atrophy, as did some original SCSI 
  781. features like Extended Identify.
  782.  
  783. Before beginning coverage of "what's new in SCSI-2," it might be well to 
  784. list some of the things that aren't new. The silicon chips designed for SCSI 
  785. are still usable. No new features were introduced which obsolete chips. The 
  786. cause of silicon obsolescence has been rapid market shifts in integrating 
  787. functions to provide higher performance. 
  788.  
  789. Similarly, initiators which were designed properly, according to SCSI in 
  790. 1986, will successfully support SCSI-2 peripherals. However, it should be 
  791. pointed out that not all the initiators sold over the last few years behaved 
  792. according to the standard, and they can be "blown away "by SCSI-2 targets. 
  793.  
  794. The 1986 standard allows either initiators or targets to begin negotiation 
  795. for synchronous transfers, and requires that both initiators and targets 
  796. properly handle the sequence. A surprisingly large percentage of SCSI 
  797. initiators will fail if the target begins negotiation. This has not been as 
  798. much of a problem to date as it will become in the future, and you know as 
  799. well as I do, that these non-compliant initiators are going to blame the 
  800. SCSI-2 targets for being "incompatible." 
  801.  
  802. Quirks in the 1986 standard, like 4 bytes being transferred on Request 
  803. Sense, even if the requested length was zero have been corrected in SCSI-2. 
  804. Initiators which relied on this quirk instead of requesting 4 bytes will get 
  805. into trouble with a SCSI-2 target. 
  806.  
  807. A sincere effort has been made to ensure that a 1986-compliant initiator 
  808. does not fail or have problems with a SCSI-2 target. If problems occur, look 
  809. for a non-compliant initiator before you blame the SCSI-2 standard. 
  810.  
  811. After that little lecture, let us turn to the features you will find in 
  812. SCSI-2 which include: 
  813.  
  814.  o Wide SCSI: SCSI may now transfer data at bus widths of 16 and 32 bits. 
  815. Commands, status, messages and arbitration are still 8 bits, and the B-Cable 
  816. has 68 pins for data bits. Cabling was a confusing issue in the closing days 
  817. of SCSI-2, because the first project of SCSI-3 was the definition of a 16-
  818. bit wide P-Cable which supported 16-bit arbitration as well as 16-bit data 
  819. transfers. Although SCSI-2 does not contain a definition of the P-Cable, it 
  820. is quite possible that within the year, the P-Cable will be most popular 
  821. non-SCSI-2 feature on SCSI-2 products. The market responds to what it wants, 
  822. not the the arbitrary cutoffs of standards committees.
  823.  
  824.  o Fast SCSI: A 10 MHz transfer rate for SCSI came out of a joint effort 
  825. with the IPI (Intelligent Peripheral Interface) committee in ASC X3T9.3. 
  826. Fast SCSI achieves 10 Megabytes/second on the A-Cable and with wider data 
  827. paths of 16- and 32-bits can rise to 20 Megabytes/second and even 40 
  828. Megabytes/second. However, by the time the market starts demanding 40 
  829. Megabytes/second it is likely that the effort to serialize the physical 
  830. interface for SCSI-3 will attract high-performance SCSI users to the Fiber 
  831. Channel. 
  832.  
  833. A word of caution. At this time the fast parameters cannot be met by the 
  834. Single Ended electrical class, and is only suitable for Differential. One of 
  835. the goals in SCSI-3 is to identify the improvements needed to achieve 10 MHz 
  836. operation with Single Ended components.
  837.  
  838.  o Termination: The Single Ended electrical class depends on very tight 
  839. termination tolerances, but the passive 132 ohm termination defined in 1986 
  840. is mismatched with the cable impedance (typically below 100 ohms). Although 
  841. not a problem at low speeds when only a few devices are connected, 
  842. reflections can cause errors when transfer rates increase and/or more 
  843. devices are added. In SCSI-2, an active terminator has been defined which 
  844. lowers termination to 110 ohms and is a major boost to system integrity.
  845.  
  846.  o Bus Arbitration, Parity and the Identify Message were options of SCSI, 
  847. but are required in SCSI-2. All but the earliest and most primitive SCSI 
  848. implementations had these features anyway, so SCSI-2 only legitimizes the de 
  849. facto market choices. The Identify message has been enhanced to allow the 
  850. target to execute processes, so that commands can be issued to the target 
  851. and not just the LUNs. 
  852.  
  853.  o Connectors: The tab and receptacle microconnectors chosen for SCSI-2 are 
  854. available from several sources. A smaller connector was seen as essential 
  855. for the shrinking form factor of disk drives and other peripherals. This 
  856. selection was one of the most argued over and contentious decisions made 
  857. during SCSI-2 development. 
  858.  
  859.  o Rotational Position Locking: A rose by any other name, this feature 
  860. defines synchronized spindles, so than an initiator can manage disk targets 
  861. which have their spindles locked in a known relative position to each other. 
  862. Synchronized disks do not all have to be at Index, they can be set to an 
  863. offset in time relative to the master drive. By arraying banks of 
  864. synchronized disks, faster transfer rates can be achieved. 
  865.  
  866.  o Contingent Allegiance: This existed in SCSI-1, even though it was not 
  867. defined, and is required to prevent the corruption of error sense data. 
  868. Targets in the Contingent Allegiance state reject all commands from other 
  869. initiators until the error status is cleared by the initiator that received 
  870. the Check Condition when the error occurred. 
  871.  
  872. Deferred errors were a problem in the original SCSI but were not described. 
  873. A deferred error occurs in buffered systems when the target advises Good 
  874. Status when it accepts written data into a buffer. Some time later, if 
  875. anything goes wrong when the buffer contents are being written to the media, 
  876. you have a deferred error. 
  877.  
  878.  o Extended Contingent Allegiance (ECA): This extends the utility of the 
  879. Contingent Allegiance state for an indefinite period during which the 
  880. initiator that received the error can perform advanced recovery algorithms. 
  881.  
  882.  o Asynchronous Event Notification (AEN): This function compensates for a 
  883. deficiency in the original SCSI which did not permit a target to advise the 
  884. initiator of asynchronous events such as a cartridge being loaded into a 
  885. tape drive. 
  886.  
  887.  o Mandatory Messages: The list of mandated messages has grown: 
  888.  
  889.   +----------------------+--------------------------+-------------------+
  890.   |       Both           |       Target             |     Initiator     |
  891.   +----------------------+--------------------------+-------------------|
  892.   | Identify             | Abort                    | Disconnect        |
  893.   |                      |                          |                   |
  894.   | Message Reject       | No Operation             | Restore Pointer   |
  895.   |                      |                          |                   |
  896.   | Message Parity Error | Bus Device Reset         | Save Data Pointer |
  897.   |                      |                          |                   |
  898.   |                      | Initiator Detected Error |                   |
  899.   +----------------------+--------------------------+-------------------+
  900.  
  901.  o Optional messages have been added to negotiate wide transfers and Tags to 
  902. support command queueing. A last-minute inclusion in SCSI-2 was the ability 
  903. to Terminate I/O and receive the residue information in Check Condition 
  904. status (so that only the incomplete part of the command need be re-started 
  905. by the initiator).
  906.  
  907.  o Command Queueing: In SCSI-1, initiators were limited to one command per 
  908. LUN e.g. a disk drive. Now up to 256 commands can be outstanding to one LUN. 
  909. The target is allowed to re-sequence the order of command execution to 
  910. optimize seek motions. Queued commands require Tag messages which follow the 
  911. Identify. 
  912.  
  913.  o Disk Cacheing: Two control bits are used in the CDB (Command Descriptor 
  914. Block) to control whether the cache is accessed on a Read or Write command, 
  915. and some commands have been added to control pre-fetching and locking of 
  916. data into the cache. Users do not have to change their software to take 
  917. advantage of cacheing, however, as the Mode Select/Mode Sense Cache page 
  918. allows parameters to be set which optimize the algorithms used in the target 
  919. to maximize cache performance. Here is another area in which improvements 
  920. have already been proposed in SCSI-3, and will turn up in SCSI-2 products 
  921. shipping later this year. 
  922.  
  923.  o Sense Keys and Sense Codes have been formalized and extended. A subscript 
  924. byte to the Sense Code has been added to provide specifics on the type of 
  925. error being reported. Although of little value to error recovery, the 
  926. additional information about error causes is useful to the engineer who has 
  927. to analyze failures in the field, and can be used by host systems as input 
  928. to prognostic analysis to anticipate fault conditions. 
  929.  
  930.  o Commands: Many old commands have been reworked and several new commands 
  931. have been added. 
  932.  
  933.  o Pages: Some method had to be found to pass parameters between host and 
  934. target, and the technique used is known as pages. The concept was introduced 
  935. in CCS and has been expanded mightily in SCSI-2. 
  936.  
  937. A number of new Common Commands have been added, and the opcode space for 
  938. 10-byte CDBs has been doubled. 
  939.  
  940.  o Change Definition allows a SCSI-2 initiator to instruct a SCSI-2 target 
  941. to stop executing according to the 1986 standard, and provide advanced SCSI-
  942. 2 features. Most SCSI-2 targets will power on and operate according to the 
  943. 1986 standard (so that there is no risk of "disturbing" the installed 
  944. initiators, and will only begin operating in SCSI-2 mode, offering access to 
  945. the advanced SCSI-2 capabilities, after being instructed to do so by the 
  946. initiator using the Change Definition command.
  947.  
  948.  o The Mode Select and Mode Sense pages which describe parameters for 
  949. operation have been greatly expanded, from practically nothing in 1986 to 
  950. hundreds of items in SCSI-2. Whenever you hear of something being described 
  951. as powerful and flexible tool, think complicated. Integrators are advised to 
  952. be judicious in their selection of the pages they decide to support. 
  953.  
  954.  o the Inquiry command now provides all sorts of interesting data about the 
  955. target and its LUNs. Some of this is fixed by the standard, but the main 
  956. benefit may be in the Vendor Unique data segregated into the special 
  957. designation of Vital Product Data, which can be used by integrators as a 
  958. tool to manage the system environment.
  959.  
  960.  o Select Log and Sense Log have been added so that the initiator can gather 
  961. both historical (e.g. all Check Conditions) and statistical (e.g. number of 
  962. soft errors requiring ECC) data from the target. 
  963.  
  964.  o Diagnostic capabilities have been extended on the Read/Write Buffer and 
  965. Read/Write Long commands. The ways in which the target can manage bad blocks 
  966. in the user data space have been defined further and regulated to reduce 
  967. inconsistencies in the 1986 standard. A companion capability to Read Defect 
  968. Data permits the initiator to use a standard method to be advised of drive 
  969. defect lists. 
  970.  
  971.  o A new group of 12-byte command blocks has been defined for all optical 
  972. devices to support the large volume sizes and potentially large transfer 
  973. lengths. The Erase command has been added for rewritable optical disks so 
  974. that areas on the media can be pre-erased for subsequent recording. Write 
  975. Once disks need Media Scan, so that the user can find blank areas on the 
  976. media. 
  977.  
  978.  o New command sets have been added for Scanners, Medium Changers, and CD 
  979. ROMs. 
  980.  
  981. All of this technical detail can get boring, so how about some "goodies" in 
  982. SCSI-2 which benefit the common man and help the struggling engineer? First, 
  983. and probably the best feature in SCSI-2 is that the document has been 
  984. alphabetized. No longer do you have to embark on a hunt for the Read command 
  985. because you cannot remember the opcode. 
  986.  
  987. In the 1986 standard, everything was in numeric sequence, and the only 
  988. engineers who could find things easily were the microprogrammers who had 
  989. memorized all the message and opcode tables. Now, ordinary people can find 
  990. the Read command because it is in alphabetic sequence. This reorganization 
  991. may sound like a small matter but it wasn't, it required a considerable 
  992. amount of effort on the part of the SCSI-2 editors. It was well worth it. 
  993.  
  994. Another boon is the introduction for each device class of models which 
  995. describe the device class characteristics. The tape model was the most 
  996. needed, because various tape devices use the same acronym but with different 
  997. meanings or different acronyms for the same meaning. 
  998.  
  999. The SCSI-2 tape model defines the terms used by SCSI-2, and how they 
  1000. correspond to the acronyms of the different tapes. For example, on a 9-track 
  1001. reel, End of Tape is a warning, and there is sufficient media beyond the 
  1002. reflective spot to record more data and a trailer. Not so on a 1/4" tape 
  1003. cartridge, End of Tape means out of media and no more data can be written. 
  1004. This sort of difference in terms causes nightmares for standardization 
  1005. efforts. 
  1006.  
  1007. So there it is, a summary of what is in SCSI-2. Its not scary, although it 
  1008. is daunting to imagine plowing through a 600-page document. Time for a 
  1009. commercial here. The "SCSI Bench Reference" available from ENDL Publications 
  1010. (408-867-6642), is a compaction of the standard. It takes the 10% of SCSI-2 
  1011. which is constantly referenced by any implementor, and puts it in an easy-
  1012. to-use reference format in a small handbook. The author is Jeff Stai, one of 
  1013. the earliest engineers to become involved with SCSI implementation, and a 
  1014. significant contributor to the development of both the 1986 standard and 
  1015. SCSI-2. 
  1016.  
  1017. SCSI-2 is not yet published as a standard, but it will be available later 
  1018. this year. Until then, the latest revision can be purchased from Global 
  1019. Engineering (800-854-7179).
  1020.  
  1021. Biography
  1022.  
  1023. Consultant and analyst I. Dal Allan is the founder of ENDL and publisher of 
  1024. the ENDL Letter and the "SCSI Bench Reference." A pioneer and activist in 
  1025. the development and use of standard interfaces, he is Vice Chairman of ASC 
  1026. X3T9.2 (SCSI) and Chairman of the SCSI-2 Common Access Method Committee. 
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032. ====
  1033. QUESTION: Is SYNCHRONOUS faster than ASYNCHRONOUS?
  1034. QUESTION: Is the 53C90 Faster than spec?
  1035. From: kstewart@ncr-mpd.FtCollins.NCR.COM (Ken Stewart)
  1036. ====
  1037.  
  1038. I've seen a few comments about our 54C90 being faster than spec.  While
  1039. I doubt the author was really complaining (I got twice as much as I paid 
  1040. for--sure makes me mad ;)  I'd like to explain the situation.
  1041.  
  1042. Along the way, I'll also show that asynchronous is faster on short cables, 
  1043. while synchronous is faster on long cables.  The cross-over point occurs 
  1044. somewhere around six feet--assuming that you have our 53C90 family devices 
  1045. at both ends of the cable.  The reason has to do with the propagation delay 
  1046. of the cable; the turn around time of the silicon; and the interlocked nature
  1047. of the asynchronous handshake.
  1048.  
  1049. 1)  We have measured propagation delays from various cables and found an 
  1050.     average of 1.7 nanoseconds per foot, which is roughly 5.25 ns per meter.
  1051.     
  1052. 2)  The turn-around time is the amount of time the SCSI chip takes to
  1053.     change an output in response to an input.  If REQ is an input then ACK 
  1054.     is an output.  Or if ACK is an input then REQ is an output.  Typical
  1055.     turn-around time for the 53C90 is 40 nanoseconds.  
  1056.  
  1057. 3)  The asynchronous transfer uses an interlocked handshake where a device 
  1058.     cannot do the next thing until it receives positive acknowledgment that 
  1059.     the other device received the last thing.  
  1060.  
  1061.     First REQ goes true                        /* driven by Target */ 
  1062.     then ACK is permitted to go true           /* driven by Initiator */
  1063.     then REQ is permitted to go false  
  1064.     then ACK is permitted to go false  
  1065.  
  1066. Thus we have four "edges" propagating down the cable plus 4 turn-around
  1067. delays.  Asynchronous transfer requires 55 ns setup and no hold time 
  1068. (paragraph in 5.1.5.1 in SCSI-1 or SCSI-2) which gives an upper speed 
  1069. limit around 18 MB/s.  A detailed analysis (assuming 53C90 family) shows that
  1070. the setup time subtracts out.  This is mostly because we are running at 
  1071. one-third the max rate, but also because setup for the next byte can begin 
  1072. anytime after ACK is received true or REQ is received false, depending on who
  1073. is receiving.  You can either take my word for it or draw the waveforms 
  1074. yourself.  Thus, the asynchronous transfer reduces to:
  1075.  
  1076. (4 * 1.7 * 1) + (4 * 40ns) = 167 ns                /* 1 foot cable */
  1077.                            = 6 MB/s
  1078.  
  1079. (4 * 5.25 * 6) + (4 * 40ns) = 286 ns               /* 6 meter cable */
  1080.                             = 3.5 MB/s
  1081.  
  1082. (4 * 5.25 * 25) + (4 * 40ns) = 685 ns              /* 25 meter cable */
  1083.                              = 1.5 MB/s            
  1084.  
  1085. note: cables longer than 6 meters require external differential transceivers 
  1086. which add delay and degrade the performance even more than indicated here.
  1087.  
  1088. Our simulations say that under very best conditions (fast silicon, low 
  1089. temperature, high voltage, zero length cable) we can expect more than 8 MB/s 
  1090. asynchronously.  In the lab, I routinely measure 5 MB/s on 8 foot cables.  
  1091. So, if you were writing the data manual for this, how would YOU spec it?
  1092.  
  1093.  
  1094. The framers of the SCSI spec threw in synchronous mode to boost the 
  1095. performance on long cables.  In synchronous mode, the sending device is 
  1096. permitted to send the next byte without receiving acknowledgment that the 
  1097. receiver actually received the last byte.  Kind of a ship and pray method.  
  1098. The acknowledgment is required to come back sometime, but we just don't have 
  1099. to wait for it (handwave the offset stuff and the ending boundary 
  1100. conditions).  In this mode any external transceivers add a time shift, but 
  1101. not a delay.  So if you negotiate for 5 MB/s, you get 5MB/s regardless how 
  1102. long the cable is and regardless whether you are single-ended or 
  1103. differential.  But you can't go faster than 5.5 MB/s, except in SCSI-2.  
  1104. Synchronous mode does have a hold time (unlike asynch) but again, setup and
  1105. hold times subtract out.  In SCSI-1 synchronous mode, the speed limit comes 
  1106. from the combined ASSERTION PERIOD + NEGATION PERIOD which is 
  1107. 90ns + 90ns = 180ns = 5.5 MB/s.  Our 53C90 family doesn't quite hit the max,
  1108. but we do guarentee 5.0 MB/s.  In SCSI-2, anything above 5.0 MB/s is 
  1109. considered to be FAST.  Here the maximum transfer rate is explicitly limited 
  1110. to 100 ns or 10MB/s; you don't have to read between the lines to deduce it.
  1111.  
  1112. Interesting tid-bit: given a SCSI-2 FAST period of 100 ns and a cable delay
  1113. of 131 ns on a 25 meter cable, you can actually stack 1.31 bytes in the 8-bit
  1114. cable.  In FAST and WIDE SCSI you can stack 5.24 bytes in this copper FIFO.  
  1115. Hummm...
  1116.  
  1117.  
  1118.  
  1119. ====
  1120. QUESTION: What are the jumpers on my Conner drive?
  1121. ANSWER From: ekrieger@quasar.hacktic.nl (Eric Krieger)
  1122. ====
  1123.  
  1124.                QUICK INSTALLATION GUIDE
  1125.  
  1126.                          SCSI
  1127.  
  1128.      Most SCSI host adapters are compatible with Conner drives.
  1129. Software drivers and installation instructions are provided with
  1130. the host adapter.
  1131.  
  1132.      The drives are shipped with SCSI ID set to 7. To select a
  1133. different ID refer to the following:
  1134.  
  1135. Table A                       Table B
  1136. ID   E-1  E-2  E-3            ID   E2   E3   E4
  1137. 0    out  out  out            0    out  out  out
  1138. 1    in   out  out            1    in   out  out
  1139. 2    out  in   out            2    out  in   out
  1140. 3    in   in   out            3    in   in   out
  1141. 4    out  out  in             4    out  out  in
  1142. 5    in   out  in             5    in   out  in
  1143. 6    out  in   in             6    out  in   in
  1144. 7    in   in   in             7    in   in   in
  1145.  
  1146. Parity is always ENABLED on the CP3200,CP30060,CP30080,CP30100.
  1147. All other models, jumper E-4 to disable parity.
  1148.  
  1149.      SCSI drive parameters:
  1150.  
  1151.      Model          Hds       Cyl       Sec       Table     LED
  1152.      CP2020         2         642       32        A         n/a
  1153.      CP340          4         788       26        B         1
  1154.      CP3020         2         622       33        A         1
  1155.      CP3040         2        1026       40        A         1
  1156.      CP3180         6         832       33        A         1
  1157.      CP3100         8         776       33        A         1
  1158.      CP30060        2        1524       39        A         2
  1159.      CP30080        4        1053       39        A         2
  1160.      CP30100        4        1522       39        A         2
  1161.      CP30200        4        2119       49        A         2
  1162.      CP3200         8        1366       38        A         2
  1163.      CP3360         8        1806       49        A         2
  1164.      CP3540         12       1806       49        A         2
  1165.  
  1166. LED 1               LED 2
  1167. J-4  Pin 1 = +      J-1 Pin 3 = +
  1168.      Pin 2 = -          Pin 4 = -
  1169.  
  1170.  
  1171.  
  1172.  
  1173. ====
  1174. QUESTION: What are the jumpers for my Wangtek 5150 drive?
  1175. ANSWER From: "Terry Kennedy, Operations Mgr" <uunet!spcvxa.spc.edu!TERRY>
  1176. ====
  1177.  
  1178.   First, the disclaimer: This is not an official representation of Wangtek
  1179. or of my employer. This is info I've discovered by reading publicly avail-
  1180. able reference material. When changing jumpers, always observe proper anti-
  1181. static precautions and be sure you have the current configuration written
  1182. down so you have a known starting point.
  1183.  
  1184.   Ok. Here's the complete scoop on Wangtek 5150ES drives:
  1185.  
  1186.   The current part number for a "generic" 5150ES is:
  1187.  
  1188.   33685-201 (black faceplate)
  1189.   33685-202 (beige faceplate)
  1190.  
  1191.   These are referred to as the "ACA version" of the drive.
  1192.  
  1193.   There are _many_ other part numbers for 5150ES drives. If you have one that
  1194. isn't one of the above, it doesn't mean you have an old or an out of rev drive,
  1195. it just means its a special version created for a distributor or OEM, or with
  1196. different default jumper settings.
  1197.  
  1198.   You can order the Wangtek 5150ES OEM Manual from Wangtek. It is part number
  1199. 63045-001 Revision D.
  1200.     
  1201.   There are 5 possible logic boards. Here are the jumper options for each:
  1202.  
  1203.   Logic assembly #33678
  1204.   ---------------------
  1205.  
  1206.   (J10)
  1207.   0 - SCSI unit LSB
  1208.   1 - SCSI unit
  1209.   2 - SCSI unit MSB
  1210.   K - not documented
  1211.  
  1212.   J32 - Diagnostic test connector, default is not installed
  1213.   E1, F1 - SCSI termination power. E1 in = power from drive and to cable,
  1214.        E1 out - power from cable. F1 = terminator power fuse, 1.5A FB.
  1215.        Default is IN.
  1216.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  1217.        through a .33 uFD capacitor. Default is IN.
  1218.   E5 - Master oscillator enable. Test only. Must be IN.
  1219.   E20 - Factory test. Must be OUT.
  1220.   RP1, RP2, RP3 - SIP terminators. Default is IN, remove for no termination.
  1221.  
  1222.   Logic assembly #30559
  1223.   ---------------------
  1224.  
  1225.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  1226.   HDR2 - Factory testing. Defaults are pins 15-16, 17-18, 19-20. Don't touch.
  1227.   HDR3 pin 1 - A-B enables buffered mode. B-C disables. Can be overridden by
  1228.                SCSI Mode Select.
  1229.   HDR3 pin 2, 3 - Default data format. Set to B-C for a 5150ES.
  1230.   HDR3 pin 4 - parity enable. A-B enables, B-C disables.
  1231.  
  1232.   (J10)
  1233.   0 - SCSI unit LSB
  1234.   1 - SCSI unit
  1235.   2 - SCSI unit MSB
  1236.   K - not documented
  1237.  
  1238.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  1239.        E1 out - power from cable.
  1240.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  1241.        through a .33 uFD capacitor. Default is IN.
  1242.   E3 - Master oscillator enable. Test only. Must be IN.
  1243.   E4 - Write test mode. Test only. Must be OUT.
  1244.   E5 - Write oscillator enable. Test only. Must be IN.
  1245.   E6 - Disable HDR2. Test only. Must be IN.
  1246.   E7 - Microcontroller clock select. In for a 5150ES.
  1247.   E8 - Write precomp select. Set on a per-drive basis. Don't touch.
  1248.   E9 - RAM size. Don't touch.
  1249.   E10 - Erase frequency. Don't touch.
  1250.   RP2, RP3 - DIP and SIP terminators. Default is IN, remove for no termination.
  1251.  
  1252.   Logic assembly #30600
  1253.   ---------------------
  1254.  
  1255.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  1256.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  1257.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. A-B=1, B-C=0
  1258.   HDR3 pin 4 - Parity enable. IA-B is enabled.
  1259.   HDR3 pin 5, 6 - Default data format. B-C for a 5150ES.
  1260.   HDR3 pin 7 - Buffered mode select. A-B is enabled.
  1261.   HDR3 pin 8 - Reserved. Must be OUT.
  1262.   HDR4 - Write frequency select. Don't touch.
  1263.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  1264.        E1 out - power from cable.
  1265.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  1266.        through a .33 uFD capacitor. Default is IN.
  1267.   E3 - Hard/soft reset. IN enables hard reset.
  1268.   E4 - Write precomp select. Don't touch.
  1269.   E5 - Clock speed. Don't touch.
  1270.   E6 - Tape hole test. Don't touch.
  1271.  
  1272.   Logic assembly #30552
  1273.   ---------------------
  1274.  
  1275.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  1276.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  1277.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. [Note - HDR3
  1278.              pins 1-3 are duplicated at another location on the board]
  1279.   HDR3 pin 4 - Parity enable. IN is enabled.
  1280.   HDR3 pin 5, 6, 7, 8 - Default data format. 5,5 B-C, 7-8 A-B for a 5150ES.
  1281.   HDR4 - Write frequency select. Don't touch.
  1282.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  1283.        E1 out - power from cable.
  1284.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  1285.        through a .33 uFD capacitor. Default is IN.
  1286.   E3 - Hard/soft reset. IN enables hard reset.
  1287.   E4 - Write precomp select. Don't touch.
  1288.   E5 - Clock speed. Don't touch.
  1289.   E6 - Tape hole test. Don't touch.
  1290.  
  1291.   Logic assembly #30427
  1292.   ---------------------
  1293.  
  1294.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  1295.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  1296.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. A-B=1, B-C=0
  1297.   HDR3 pin 4 - Parity enable. IA-B is enabled.
  1298.   HDR3 pin 5, 6, 7, 8 - Default data format. 5,5 B-C, 7-8 A-B for a 5150ES.
  1299.   E1, E3 - Factory test. Must be IN.
  1300.   E2 - SCSI termination power. E2 in = power from drive and to cable,
  1301.        E2 out - power from cable.
  1302.   E4 - Chassis ground. E4 in jumpers logic to chassis ground. E4 out isolates
  1303.        through a .33 uFD capacitor. Default is IN.
  1304.  
  1305.   Firmware - There are many flavors of firmware. I have seen the following
  1306. parts:
  1307.  
  1308.   24115-xxx
  1309.   24144-xxx
  1310.   21158-xxx
  1311.  
  1312.   the -xxx suffix changes as the firmware is updated. According to the folks
  1313. I spoke to at Wangtek, the standard firmware is the 21158. The latest version
  1314. as of this writing is 21158-007. All of these will work with the Adaptec and
  1315. GTAK.
  1316.  
  1317.   The firmware options (as returned by a SCSI Identify) are on the end of the
  1318. product string, which is "WANGTEK 5150ES SCSI ES41C560 AFD QFA STD" for the
  1319. 21158-007 firmware. The 3-letter codes have the following meaning:
  1320.  
  1321.   AFD - Automatic Format Detection - the drive will recognize the format (such
  1322.     as QIC-24, QIC-120, or QIC-150) that the tape was written in.
  1323.  
  1324.   QFA - Quick File Access - the ability to rapidly locate a tape block, and
  1325.     to implement the "position to block" and "report block" SCSI commands.
  1326.     This is compatible with the Tandberg implementation.
  1327.  
  1328.   STD - Standard feature set.
  1329.  
  1330.  
  1331.  
  1332. ====
  1333. QUESTION: What is CAM?
  1334. ANSWER From: ctjones@bnr.ca (Clifton Jones)
  1335. ====
  1336.  
  1337. Common Access Method.
  1338.  
  1339. It is a proposed ANSI standard to make it easier to program SCSI applications
  1340. by encapsulating the SCSI functions into a standardized calling convention.
  1341.  
  1342. ANSWER From: landis@sugs.tware.com (Hale Landis)
  1343. ====
  1344.  
  1345. You may be able to get the CAM spec(s) from the SCSI BBS
  1346.  
  1347.  
  1348.  
  1349.  
  1350. ====
  1351. QUESTION: What is FPT (Termination)?
  1352. ANSWER From: jvincent@bnr.ca (John Vincent)
  1353. ====
  1354.  
  1355.  
  1356. FPT is actually really simple, I wish I had thought of it. What it does 
  1357. is use diode clamps to eliminate over and undershoot. The "trick" is
  1358. that instead of clamping to +5 and GND they clamp to the output of two 
  1359. regulated voltages. This allows the clamping diodes to turn on earlier
  1360. and is therefore better at eliminating overshoot and undershoot. The block
  1361. diagram for a FPTed signal is below. The resistor value is probably in the 
  1362. 120 to 130 ohm range. The actual output voltages of the regulators may not
  1363. be exaclty as I have shown them but ideally they are matched to the diode 
  1364. characteristics so that conduction occurs when the signal voltage is 
  1365. greater than 3.0 V or less than 0.5 V. 
  1366.  
  1367.  
  1368.  
  1369.           +--------------- TERMPWR 
  1370.           |
  1371.       ____|____
  1372.      |        |
  1373.      | Vreg 1 |-------*-------------------------*--------------- 3.? V
  1374.      |________|       |                         |
  1375.                       |                         |
  1376.                       |                         |
  1377.                       |                         \
  1378.          +------------*                         /    pullup resistor
  1379.          |            |                         \
  1380.          |            |                         /
  1381.          |        ____|___                      |
  1382.          |       |        |                     |
  1383.          |       | Vreg 2 |----------*----------|--------------- 3.0 V
  1384.          |       |________|          |          |
  1385.          |                         --+--        |
  1386.          |                          / \         |
  1387.          +-----------+             /___\        |
  1388.                      |               |          |
  1389.                      |               |          |              terminated
  1390.                      |               *----------*------------- signal
  1391.                      |               |
  1392.                      |               |
  1393.                      |             --+-- 
  1394.                      |              / \
  1395.                      |             /___\
  1396.                      |               |
  1397.                   ___|____           |
  1398.                  |        |          |                 
  1399.                  | Vreg 3 |----------*-------------------------  1.0 V (?)
  1400.                  |________|
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406. ====
  1407. QUESTION: What is Active Termination?
  1408. ANSWER From: eric@telebit.com (Eric Smith)
  1409.         and  brent@auspex.com (Brent R. Largent)
  1410. ====
  1411.  
  1412.  
  1413. An active terminator actually has one or more voltage regulators to produce
  1414. the termination voltage, rather than using resistor voltage dividers.
  1415.  
  1416. This is a passive terminator:
  1417.  
  1418.  
  1419. TERMPWR     ------/\/\/\/------+------/\/\/\/-----  GND
  1420.                                |
  1421.                                |
  1422.                               SCSI signal
  1423.  
  1424. Notice that the termination voltage is varies with the voltage on the
  1425. TERMPWR line.  One voltage divider (two resistors) is used for each SCSI
  1426. signal.
  1427.  
  1428.  
  1429. An active terminator looks more like this (supply filter caps omitted):
  1430.  
  1431.                +-----------+
  1432. TERMPWR   -----| in    out |------+------/\/\/\/-------SCSI signal
  1433.                |   gnd     |      |
  1434.                +-----------+      |
  1435.                     |             +------/\/\/\/-------SCSI signal
  1436.                     |             |
  1437. GND  ---------------+             |
  1438.                                   +------/\/\/\/-------SCSI signal
  1439.                                   |
  1440.                                  etc.
  1441.  
  1442. Assuming that the TERMPWR voltage doesn't drop below the desired termination
  1443. voltage (plus the regulator's minimum drop), the SCSI signals will always
  1444. be terminated to the correct voltage level.
  1445.  
  1446. Several vendors have started making SCSI active terminator chips,
  1447. which contain the regulator and the resistors including Dallas
  1448. Semiconductor, Unitrode Integerated Circuits and Motorola
  1449.  
  1450.  
  1451.  
  1452.  
  1453. ====
  1454. QUESTION: Why Is Active Termination Better?
  1455. ANSWER brent@auspex.com (Brent R. Largent)
  1456. ====
  1457.  
  1458.  
  1459. Typical pasive terminators (resistors) fluctuate directly in relation to the 
  1460. TERM Power Voltage. Usually terminating resistors will suffice over short distances,
  1461. like 2-3 feet, but for longer distances active termination is a real advantage. It
  1462. reduces noise.
  1463.  
  1464.  Active Termination provide numerous advantages:
  1465. - A logic bit can disconnect the termination
  1466. - Provides Negative Clamping on all signal lines
  1467. - Regulated termination voltage
  1468. - SCSI-2 spec recommends active termination on both ends of the scsi cable.
  1469. - Improved Resistance tolerences (from 1% to about 3%)
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475. ====
  1476. End.
  1477. ====
  1478.